package cn.melon.mod.store.entity;

public class GoodsInfo {
//	/*
//	 * 商品编号
//	 */
//	private String goodsId;
	/*
	 * 商品名称
	 */
	private String goodsName;
	/*
	 * 商品价格
	 */
	private double goodsPrice;
	/*
	 * 商品类别
	 */
	private String goodsType;
	/*
	 * 商品描述
	 */
	private String goodsDescription;
	/*
	 * 商品销量
	 */
	private long goodsSales;
	/*
	 * 商品是否售空
	 */
	private boolean isSoldOut;
	
	public GoodsInfo() {
	}

	public GoodsInfo(String goodsName,String goodsType,double goodsPrice,String goodsDes,long goodsSales,boolean isSoldOut) {
		setGoodsName(goodsName);
		setGoodsType(goodsType);
		setGoodsPrice(goodsPrice);
		setGoodsDescription(goodsDes);
		setGoodsSales(goodsSales);
		setSoldOut(isSoldOut);
	}
	
	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public double getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(double goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public String getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(String goodsType) {
		this.goodsType = goodsType;
	}

	public String getGoodsDescription() {
		return goodsDescription;
	}

	public void setGoodsDescription(String goodsDes) {
		this.goodsDescription = goodsDes;
	}

	public long getGoodsSales() {
		return goodsSales;
	}

	public void setGoodsSales(long goodsSales) {
		this.goodsSales = goodsSales;
	}

	public boolean isSoldOut() {
		return isSoldOut;
	}

	public void setSoldOut(boolean isSoldOut) {
		this.isSoldOut = isSoldOut;
	}
	
}
